<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
     <table>
         <tbody>
            {% for good in goods %}
             <tr>
                 <th>{{forloop.counter}}</th>
                 <th>{{good.name}}</th>
                 <th>
                     <img src={{good.imgsrc}} width="50" height="50">
                 </th>
                 <th>{{good.price}}</th>
                 <th>{{good.buy_count}}</th>
                 <th>{{good.allprice}}</th>
                 <th>删除购物车商品</th>
             </tr>
             {% endfor %}
         </tbody>
     </table>
</body>
</html>